package com.czl.module_user.fragment

import com.alibaba.android.arouter.facade.annotation.Route
import com.czl.base.base.BaseFragment
import com.czl.base.config.AppConstants
import com.czl.module_user.BR
import com.czl.module_user.R
import com.czl.module_user.databinding.FragmentIntegralDetailBinding
import com.czl.module_user.viewmodel.IntegralDetailViewModel

/**
 *
 * @Description:积分详情
 * @Author: XCH
 * @CreateDate: 2022/2/8 11:20
 */
@Route(path = AppConstants.Router.User.F_INTEGRAL_DETAIL)
class IntegralDetailFragment: BaseFragment<FragmentIntegralDetailBinding, IntegralDetailViewModel>() {
    override fun initContentView(): Int {
        return R.layout.fragment_integral_detail
    }

    override fun initVariableId(): Int {
       return BR.viewModel
    }

    override fun initData() {
        viewModel.tvTitle.set("积分详情")

        viewModel.getPointDetail()
    }
}